import request from '@/utils/request'

export default {
    //获取订单目录
    getAllOrder(current,limit) {
        return request({
            url: `/eduorder/order/getAllOrder/${current}/${limit}`,
            method: 'post'
          })
    },
    deleteOrderById(id) {
        return request({
            url: `/eduorder/order/${id}`,
            method: 'delete'
          })
    }
}